#include "rs232.h"

void USART_Transmit(unsigned char data)
{
    while ( !( UCSRA & (1<<UDRE)) );
    UDR = data;
}

unsigned char USART_Receive(void)
{
    while ( !(UCSRA & (1<<RXC)) );
    return UDR;
}
